import hi from "./m1";

function sum(a: number, b: number): number {
  return a + b;
}

const obj = { name: "jerry", age: 33 };
console.log(obj);

obj.age = 18;
console.log(obj);

console.log(sum(123, 456));
console.log(hi);

console.log(Promise); // ie里没有Promise，使用 corejs 进行处理

let fn = (a: number, b: number): number => a + b;
fn(123, 456);
fn(321, 654); // 防止 Tree Shaking
